<style>
    .footer span{
        width: 48%;
    }
</style>
<div class="footerBox" style="width:100%;height: 1rem!important;margin-top: .3rem;"> </div>
<div class="footer">
	<a href="/" class=""><span>主页</span></a>
	<!--<a id="module"><span>研习社</span></a>-->
	<a href="{:U('Portal/Blueprint/index')}"><span>蓝图</span></a>
	<!--<a href="{:U('Question/Question/index')}"><span>问答</span></a>-->
</div>

<!--小程序内分享-->
<script type="text/javascript" src="__PUBLIC__/js/wx/jweixin-1.3.2.js"></script>
<script>
    $(function () {
        $('#module').click(function () {
            var in_mini = false;
            wx.miniProgram.getEnv(function(res) {
                if (res.miniprogram) { //在小程序中
                    in_mini = true;
                    alert('请在移动端打开 www.rixins.com');
                    // window.location.href = "https://mp.weixin.qq.com/s?__biz=MzU3MTcwMTUzNg==&tempkey=MTAxOF9wMzFET0tteUttb0paVTU5blNidmxITm5QQ3ZmX0h1Y244RUxNcTF1YzFfSUNqSWdDdnVkTWxtNWdzdkt3ejVXVkVTb2QxVXhMLTRTX2pMbHZ4TndtUFZCby1sM2JEbmZQODd2dGxmLWIyOEFPNzVlTHdSZ09FY2s1eldBZm1WTGhVQjhOZlVwMW1Xc0lscHJoakt1a1pUSmcybnBBcUYtUGdvclN3fn4%3D&chksm=7cdd620b4baaeb1dc3a810130306c533905c1a0ac9ea964982f08cd3266e22161e371165fe31#rd";
                }
            });
            if (!in_mini) {
                window.location.href = "{:U('portal/index/moduleindex')}";
			}
        })
    })
</script>


